﻿using System.Collections.Generic;

namespace AirportApp.Data
{
    public class AirportsInGroup : List<AirportItem>
    {
        public AirportsInGroup(string key)
        {
            Key = key;
        }

        public string Key { get; set; }

        public bool HasItems
        {
            get
            {
                var result = Count > 0;
                return result;
            }
        }

    }
}
